package design.observer;

import java.util.function.Consumer;

/**
 * Lamdba重构责任链模式
 */
@FunctionalInterface
public interface NewProcessor {
    Consumer<String> process(String param);
}